/*****************************************************************
 MYD Engine v0.1

 File: myd_mesh3d.h
 Created: 23/01/11
*****************************************************************/

#ifndef MYD_BASIC_OBJECT_H
#define MYD_BASIC_OBJECT_H

#include "system/myd_system.h"
#include "entities/myd_entity.h"
#include "graphics/graphicsstructs.h"

namespace myd
{
	class Renderer;

	class MYD_API BasicObject : public Entity 
	{
		public: 
			enum meshType {TEAPOT=0, CUBE, SPHERE};

		public:
			//BasicMesh(meshType type, Renderer *renderer); //<--be back soon
			BasicObject(Renderer *renderer);
			~BasicObject(void);

			void draw();
		
		private:
			void createObject();
			LPD3DXMESH ppMesh;
	};
}//end namespace
#endif //MYD_BASICOBJECT_H